<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript">
	//将1-10打印到控制台
	var n1=1;
	while(n1>=1 && n1<=10){
		console.log(n1);
		n1++;

	}

	</script>
</head>
<body>
	
</body>
</html>